package com.tedu.day08springmvc.mapper;

import com.tedu.day08springmvc.pojo.dto.UserDto;
import com.tedu.day08springmvc.pojo.entity.User;
import com.tedu.day08springmvc.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int insertUser(User user);

    int deleteUser(int id);

    int updateUser(User user);

    List<UserVO> selectUsers();

}
